package com.zhengxin.one.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateKeepOrderDTO implements Serializable {
    private String userid;
    //订单类型
    private int order_type;
    //减免金额，单位分
    private String deduction_amount;
    //收货地址
    private String address;
    //运费，单位分
    private Double shipping_fee;
    //服务费，单位分
    private Double service_fee;
    //订单总金额，含服务费，不含运费，单位分
    private Double amount;
    //支付金额，含服务费，运费，单位分
    private Double payment_amount;
    //订单备注信息
    private String memo;
    //订单项，需要进行json_encode
    private String order_item;
    //第三方授权编码
    private String auth_code;
    //签名
    private String sign;
    //签名时间戳
    private int sign_time;
}
